export default {
  /**
   * 01000001---首页图表相关数据
   *
   */
  "POST /sys/dashboard/dashboardInfo": (req, res) =>{
    res.send({
      trace_id: '1638bc8d37b1ee92002ac11000f7d14',
      error_info: '执行成功',
      request_id: '1638bc8d37b1ee92002ac11000f7d14',
      error_no: '0',
      data: {
        devGoodRate: 85,
        devChart: [
          {
            devFaultNum: 0,
            districtId: 1,
            districtName: "浙江",
            devNormalNum: 0
          },
          {
            devFaultNum: 0,
            districtId: 2,
            districtName: "杭州市",
            devNormalNum: 0
          },
          {
            devFaultNum: 2,
            districtId: 3,
            districtName: "江干区",
            devNormalNum: 8
          },
          {
            devFaultNum: 0,
            districtId: 4,
            districtName: "2222",
            devNormalNum: 0
          },
          {
            devFaultNum: 0,
            districtId: 5,
            districtName: "vvvvv",
            devNormalNum: 0
          }
        ],
        repairChart: [
          {
            status05Count: 0,
            status02Count: 0,
            districtId: 1,
            districtName: "浙江",
            status03Count: 0,
            status07Count: 0,
            status01Count: 4,
            status04Count: 1,
            status06Count: 0
          },
          {
            status05Count: 0,
            status02Count: 1,
            districtId: 2,
            districtName: "杭州市",
            status03Count: 0,
            status07Count: 0,
            status01Count: 3,
            status04Count: 0,
            status06Count: 0
          },
          {
            status05Count: 1,
            status02Count: 0,
            districtId: 3,
            districtName: "江干区",
            status03Count: 0,
            status07Count: 2,
            status01Count: 7,
            status04Count: 0,
            status06Count: 0
          },
          {
            status05Count: 0,
            status02Count: 2,
            districtId: 4,
            districtName: "2222",
            status03Count: 1,
            status07Count: 0,
            status01Count: 3,
            status04Count: 0,
            status06Count: 1
          },
          {
            status05Count: 0,
            status02Count: 0,
            districtId: 5,
            districtName: "vvvvv",
            status03Count: 0,
            status07Count: 0,
            status01Count: 0,
            status04Count: 0,
            status06Count: 0
          }
        ],
        warnMonitor:[{
          warnId:"1",
          warnCode:"#0091",
          warnCon:"视频离线",
        },{
          warnId:"2",
          warnCode:"#0071",
          warnCon:"维修任务延迟",
        },{
          warnId:"3",
          warnCode:"#0006",
          warnCon:"光端机待保养",
        }]
      },

    });
  },


  /**
   * 01000002---首页地图点位
   *
   */
  "POST /sys/dashboard/dashboardMap": (req, res) =>{
    res.send({
      trace_id: '1638bc8d37b1ee92002ac11000f7d14',
      error_info: '执行成功',
      request_id: '1638bc8d37b1ee92002ac11000f7d14',
      error_no: '0',
      data: {
        list:[{
          pointId:"1",
          longitude:120.150744,
          latitude:30.27308,
          status:"01"
        },{
          pointId:"2",
          longitude:120.138813,
          latitude:30.279677,
          status:"02"
        }]
      },

    });
  },


};

